import Login from '@/components/yg/auth/Login'
import Install from '@/components/yg/auth/Install'
import Main from '@/components/yg/layout/Main'
import Board from '@/components/yg/layout/Board'
import Blank from '@/components/yg/layout/Blank'
import MobileHome from '@/components/yg/layout/Mobile'
import Mobile from '@/components/yg/layout/mobile/Entry'
import Iframe from '@/components/yg/layout/Iframe'

export const YG_ROUTES = [
  {
    path: '/',
    component: Board
  },
  {
    path: '/board/:uri',
    component: Board
  },
  {
    path: '/login',
    component: Login
  },
  {
    path: '/install',
    component: Install
  },
  {
    path: '/main/:uri',
    component: Main
  },
  {
    path: '/main2/:uri/:id',
    component: Main
  },
  {
    path: '/blank/:uri/',
    component: Blank
  },
  {
    path: '/blank/:uri/:type',
    component: Blank
  },
  {
    path: '/blank/:uri/:type/:_',
    component: Blank
  },
  {
    path: '/m',
    component: MobileHome
  },
  {
    path: '/m/:uri',
    component: Mobile
  },
  {
    path: '/iframe/:uri',
    component: Iframe
  },
  {
    path: '/view/waybillMasterAndHouseNumber',
    component: () => import('@/components/app/view/waybillMasterAndHouseNumber')
  },
  {
    path: '/view/viewWaybillFile',
    component: () => import('@/components/app/view/viewWaybillFile')
  },
];
